A decimal number may be represented in coded binary form . 一個(gè)十進(jìn)制的數(shù)可以用編碼二進(jìn)制形式來代表。
The field descriptors allow integers and decimal number to be read and written . 字域說明符允許把整數(shù)和十進(jìn)制數(shù)讀入和打印出來。
There is a very simple technique for converting any decimal number to its binary equivalent . 有一個(gè)很簡(jiǎn)便的方法可以將任意十進(jìn)制數(shù)換算為等值的二進(jìn)制數(shù)。
Let us look at parallels between arithmetic using binary numbers and arithmetic using decimal numbers . 我們采用與十進(jìn)制運(yùn)算對(duì)比的辦法來介紹二進(jìn)制數(shù)的運(yùn)算方法。
In order to calculate how many fours digits there are, you could simply divide the initial decimal number by 4 . 為了計(jì)算有多少個(gè)四位數(shù)字,你可以簡(jiǎn)單地用4去除最初的那個(gè)十進(jìn)制數(shù)。
To convert decimal numbers to binary the decimal number is expressed as the sum of powers 2, until the difference becomes 0 . 若要把十進(jìn)制數(shù)轉(zhuǎn)換成二進(jìn)制數(shù),則可將十進(jìn)制數(shù)逐次減去最大可能的2的冪之值,直至減得之差為0。
Returns a value indicating the sign of a decimal number 返回表示數(shù)字符號(hào)的值。
Calculates the integral part of a specified decimal number 計(jì)算指定小數(shù)的整數(shù)部分。
Returns the smaller of two decimal numbers 返回兩個(gè)十進(jìn)制數(shù)中較小的一個(gè)。
Returns the larger of two decimal numbers 返回兩個(gè)十進(jìn)制數(shù)中較大的一個(gè)。